

package com.hexinfo.dmpro.script.publish.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hexinfo.dmpro.script.publish.entity.ScriptPublishListEntity;
import com.hexinfo.dmpro.script.publish.entity.ScriptPublishResultEntity;

import java.util.List;

/**
 * 脚本发布结果
 *
 * @author Wang zhihao
 * @date 2023-09-13 18:17:51
 */
public interface IScriptPublishResultService extends IService<ScriptPublishResultEntity> {

    /**
     * @Method queryList
     * @Param
     * @param page
     * @param scriptPublishResult
     * @Return com.baomidou.mybatisplus.extension.plugins.pagination.Page
     * @Description 分页查询
     * @Author Wang zhihao
     * @Date 2023/11/13 16:50
     * @Version V1.0
     */
    public Page queryList(Page page, ScriptPublishResultEntity scriptPublishResult);

    /**
     * @Method queryListNoPage
     * @Param
     * @param scriptPublishResult
     * @Return java.util.List<com.hexinfo.dmpro.script.publish.entity.ScriptPublishResultEntity>
     * @Description 不分页查询
     * @Author Wang zhihao
     * @Date 2023/11/10 13:27
     * @Version V1.0
     */
    List<ScriptPublishResultEntity> queryListNoPage(ScriptPublishResultEntity scriptPublishResult);

    /**
     * @Method removeByListId
     * @Param
     * @param listPkId
     * @Return void
     * @Description 根据listId删除
     * @Author Wang zhihao
     * @Date 2023/11/13 16:55
     * @Version V1.0
     */
    void removeByListId(String listPkId);
}
